alignVertically

abstract fun alignVertically(blocks: List<DesignBlock>, alignment: VerticalBlockAlignment)

Align multiple blocks vertically within their bounding box or a single block to its parent. Required scope: "layer/move"

Parameters

blocks

a non-empty array of block ids that should be aligned.

alignment

How they should be aligned: top, bottom, or center